import Vue from 'vue'
// import storage from 'store'
// import { DICT_TYPE_TREE_DATA } from '@/store/mutation-types'
// import moment from 'moment'
// import 'moment/locale/zh-cn'
// import { getHashDict } from './util'
// const _ = require('lodash')
// moment.locale('zh-cn')

/**
 * 过滤图片
 *
 * @author ryan
 * @date 2021-10-8 01:13
 */
Vue.filter('image', function (value) {
  // if (value === null || value === '') {
  //   return require('@/assets/imgs/common/default.png')
  // }
  return process.env.VUE_APP_IMAGE_PREFIX + value
})

